package com.macro.mall.dao.ums;


import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.ums.UmsMemberProductCategoryRelationDO;
import com.macro.mall.model.ums.UmsMemberProductCategoryRelationQuery;
import org.apache.ibatis.annotations.Param;

public interface UmsMemberProductCategoryRelationMapper extends BaseMapper<UmsMemberProductCategoryRelationDO> {
    long countByExample(UmsMemberProductCategoryRelationQuery example);

    int deleteByExample(UmsMemberProductCategoryRelationQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsMemberProductCategoryRelationDO record);

    int insertSelective(UmsMemberProductCategoryRelationDO record);

    List<UmsMemberProductCategoryRelationDO> selectByExample(UmsMemberProductCategoryRelationQuery example);

    UmsMemberProductCategoryRelationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsMemberProductCategoryRelationDO record, @Param("example") UmsMemberProductCategoryRelationQuery example);

    int updateByExample(@Param("record") UmsMemberProductCategoryRelationDO record, @Param("example") UmsMemberProductCategoryRelationQuery example);

    int updateByPrimaryKeySelective(UmsMemberProductCategoryRelationDO record);

    int updateByPrimaryKey(UmsMemberProductCategoryRelationDO record);
}
